#include "mainwindow.h"

#include <QApplication>
#include <tdialoglogin.h>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    tDialogLogin *dlglogin = new tDialogLogin;
    if(dlglogin->exec() == QDialog::Accepted) {
        MainWindow w;
        w.show();
        return a.exec();
    }
    else
        return 0;
}
